package com.logos.factory;

import com.logos.dao.BookDao;
import com.logos.dao.impl.BookDaoImpl;

public class BookDaoFactory {

    //静态工厂
//    public static BookDao getBookDao() {
//        System.out.println("factory setup...");
//        return new BookDaoImpl();
//    }

    // 实例工厂
//    public BookDao getBookDao(){
//        return new BookDaoImpl();
//    }

}
